Add geoniche test cases.
authorrobertl <robertl>
Sat, 17 Jan 2004 22:13:05 +0000 (22:13 +0000)
committerrobertl <robertl>
Sat, 17 Jan 2004 22:13:05 +0000 (22:13 +0000)
reference/geoniche.pdb [new file with mode: 0644]
testo

diff --git a/reference/geoniche.pdb b/reference/geoniche.pdb
new file mode 100644 (file)
index 0000000..0c8ba05
Binary files /dev/null and b/reference/geoniche.pdb differ
diff --git a/testo b/testo
index 5020240487f2bb5c65a891f337456fae2c3f5ffe..0ac00b38b51c80ef293b40efc7be2c5b4429eff8 100755 (executable)
--- a/testo
+++ b/testo
@@ -460,4 +460,14 @@ ${DIFF}  ${TMPDIR}/reverse1.arc  ${TMPDIR}/reverse2.arc > /dev/null && {
                exit 1
 }
 
+#
+# Geoniche: No referene file was available, so we created one and just
+# test it against itself.
+#
+rm -f ${TMPDIR}/gn.pdb ${TMPDIR}/1.gpx ${TMPDIR}/2.gpx
+${PNAME} -i geoniche -f reference/geoniche.pdb -o geoniche -F ${TMPDIR}/gn.pdb
+${PNAME} -i geoniche -f reference/geoniche.pdb -o gpx -F ${TMPDIR}/1.gpx
+${PNAME} -i geoniche -f ${TMPDIR}/gn.pdb -o gpx -F ${TMPDIR}/2.gpx
+${DIFF} ${TMPDIR}/1.gpx ${TMPDIR}/2.gpx
+
 exit 0